//
//  PermissionHelper.h
//  Pods
//
//  Created by Dapeng Wu on 2024/3/8.
//

#import <Foundation/Foundation.h>
#import "AVFoundation/AVCaptureDevice.h"

NS_ASSUME_NONNULL_BEGIN

@interface PermissionHelper : NSObject

+ (PermissionHelper*)shareInstance;

/**是否有相机权限*/
- (AVAuthorizationStatus)canUseCamera;

/**请求相机权限 仅用于被用户拒绝权限后的再次申请*/
- (void)requestAuthorizationForCamera;

@end

NS_ASSUME_NONNULL_END

